<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us" dir="ltr">
<head profile="http://gmpg.org/xfn/11">
	
	<title>Basic Theme for WordPress &ndash; english</title>
	<link rel="alternate" type="application/rss+xml" title="Last updates" href="http://code.google.com/feeds/p/wp-basis-theme/updates/basic" />
	<link rel="shortcut icon" href="http://wpbasis.de/favicon.ico" type="image/x-icon" />
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<meta http-equiv="content-language" content="de-DE" />

	<style type="text/css" media="all">
	/*<![CDATA[*/
		body{background:#fcfcfc;color:#444;font:normal 70%/150% verdana,geneva,sans-serif;margin:0 2em;padding:0;}
		body #skipLink{display:block;padding:10px 20px;position:absolute;top:0;left:-999px;}
		body #skipLink:focus{left:0;}
		body blockquote{margin-left:0;border-left:5px solid #f6f6f6;padding-left:0.5em;}
		body code, body pre{font:1em/150% consolas,"courier new", courier, monospace;}
		body pre{margin-top:0};
		body div#wrap{background-color:#fff;border-left:3px solid #f9f9f9;border-right:3px solid #f9f9f9;color:#444;margin:0 auto;padding:1em 2em;width:50em;}
		body div#wrap div#footer{margin:3em auto 1em;text-align:center;}
		body div#wrap div#footer p{background:#ffd;color:#666;display:inline;padding:0.2em 0.5em;}
		body div#wrap div#header{margin:0 auto;text-align:center;}
		body div#wrap div#header p.readme-version{font-size:0.9em;letter-spacing:0.1em;margin:0 0 0.5em;text-transform:uppercase;}
		body h1{font-size:3.2em;}
		body h1,body h2,body h3{font-family:garamond,georgia,times,serif;font-weight:400;}
		body h2{font-size:2em;margin-top:3em;}
		body h3{font-size:1.6em;margin-top:2em;}
		body ol li ol li,body ol li#features ol li ol li{list-style:decimal;}
		body ol li#functions h3{font-size:1.5em;}
		body ol li#functions ol{list-style:lower-alpha;margin:0 0 0 2em;padding:0;}
		body ol li#lizenz blockquote a{color:#222;text-decoration:none;}
		body ol li#lizenz blockquote strong{font-size:0.9em;font-weight:400;text-transform:uppercase;}
		body ol li,body ol#menu li ol li{list-style:upper-roman;}
		body ol ul li,body ol ol ul li{list-style:square;}
		body ol li pre.shell{margin:-0.5em 2.5em 1em 1em;padding:0.2em 0.5em;background:#eee;}
		body ol#menu li{list-style:none;}
		body ol#menu li ol li ol li,body ol li#functions ol li,body ol li#features ol li{list-style:lower-roman;}
		body #funktionen ol li ul {margin:0 0 10px 0; padding-left:20px;}
		body #funktionen ol li ul li {list-style-type:none;}
		body pre span,body span.bold{font-weight:700;}
		body p span.vcard span.family-name,body p span.vcard span.additional-name{display:none;}
		body p.top{text-align:right;}
		body div#donate{float:right; margin: 4em 0 0 10px; padding: 5px; width:300px; background: #fff; border: 1px solid #444;}
		body div#donate h2 {margin-top:.5em;}
		body div#donate .right{float:right;margin:0 0 5px 10px;}
		table *{border:none;}
		table tbody th,table tfoot th{background:#ddd;text-align:left;}
		table tbody tr.alt{background:#eee;}
		table tr td,table tr th{padding:0.1em 0.5em;}
	/*]]>*/
	</style>
</head>

<body>
	<div id="wrap">
		<a id="skipLink" accesskey="0" title="Skip to content, hot-key 0" href="#content">&raquo; Skip to content</a>
		<div id="header">
			<h1 id="title">WordPress <em>Basis</em> Theme <small>english/<a href="readme-de_DE.html" title="In deutscher Sprache lesen.">deutsch</a></small></h1>
			<p class="readme-version">Version 1.2.3 <small>(18.03.2010 09:11:28)</small></p>
			<p>A simple Theme to start a new WordPress Themes</p>
		</div>
		
		<div id="donate">
			<h2>Donate</h2>
			<form action="https://www.paypal.com/cgi-bin/webscr" method="post" class="right">
				<p><input type="hidden" name="cmd" value="_s-xclick" /></p>
				<p><input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHoAYJKoZIhvcNAQcEoIIHkTCCB40CAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQY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YBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wOTA3MTUwOTE5MzlaMCMGCSqGSIb3DQEJBDEWBBQ1VwH916xU6ADpRZrHJRNfNNkJajANBgkqhkiG9w0BAQEFAASBgBmhrit+S76hkbxMOMl26VhjqjUmghtItCL0dBwzLLFKmaLH9bpdS58mXuP/Mcl/ngC9dUxiInc1p/NySS9X/iYv2CIxQsZClJ3GjsuFHPTRGF7B2pU4cS5QyvTj9w9gZnN8Yfd3aajyxSJVKCHJ/wTzmc7MSjcWmL3jDZ95sJiS-----END PKCS7-----" /></p>
				<p><input type="image" src="https://www.paypal.com/de_DE/DE/i/btn/btn_donateCC_LG.gif" name="submit" alt="Jetzt einfach, schnell und sicher online bezahlen – mit PayPal." />
				<img alt="" src="https://www.paypal.com/de_DE/i/scr/pixel.gif" width="1" height="1" /></p>
			</form>
		<p>I work a lot and quite often on this theme to keep it up to date. I invest a lot of my precious leisure time in projects like this to provide solutions for WordPress. Please show me your appreciation and give a contribution to support my work on free software. Further projects and solutions can be find on my blog bueltge.de. Alternatively, you can show your appreciation if you send me a gift from my <a href="http://www.amazon.de/gp/registry/3NTOGEK181L23/ref=wl_s_3/275-8347005-6788415">Amazon wishlist</a>.<br />I am very grateful for your support! Thank you very much!</p>
		</div>
		
		<ol id="menu">
			<li>
				<h2>Content</h2>
				<ol>
					<li><a href="#einleitung" title="Skip to introduction">Introduction</a></li>
					<li><a href="#projekt" title="Skip to project pages">Project pages</a></li>
					<li><a href="#aufbau" title="Skip to templates/structure">Templates/structure</a></li>
					<li><a href="#funktionen" title="Skip to extra functions">Extra functions</a></li>
					<li><a href="#wp_root_tipps" title="Skip to hints for the WP main directory">Hints for the WP main directory</a></li>
					<li><a href="#css_hint" title="Skip to hints for css reset">Hints for the CSS reset</a></li>
					<li><a href="#download" title="Skip to download">Download</a></li>
					<li><a href="#danke" title="Skip to credits">Credits</a></li>
					<li><a href="#team" title="Skip to project team">Project team</a></li>
					<li><a href="#lizenz" title="Skip to license">License</a></li>
				</ol>
			</li>
		</ol>
		
		<ol id="content">
			
			<li id="einleitung">
				<h2>Introduction</h2>
				<p><em>Basis</em> has been built to make theme development for WordPress easier. 
				If you are an experienced theme developer or a total beginner, <em>Basis</em> provides a highly customizable starting point for your theme development.</p>
				<p><em>Basis</em> comes with a pre-defined set of templates. The otherwise empty stylesheet provides a list of IDs und class-names which have already been used in the templates. The theme is widget-ready and introduces a number of custom functions in <code>functions.php</code>. Here are some details:</p>
				<h3>Alternative xHTML5</h3>
				<p>You can also use the Basis-Theme with xHTML5 Markup. Please see the <a href="http://code.google.com/p/wp-basis-theme/source/browse/#svn/trunk/basis-html5" title="zur Projektseite">SVN</a> of the project for more source.</p>
				<p class="top"><a href="#wrap" title="Top of page">&nbsp;&uarr;&nbsp;</a></p>
			</li>
			
			<li id="projekt">
				<h2>Project pages</h2>
				<ul>
					<li><a href="http://bueltge.de/basis-theme-fuer-wordpress/411/">Blog entry about this theme (German)</a></li>
					<li><a href="http://code.google.com/p/wp-basis-theme/">WordPress <em>Basis</em> Theme SVN at Google Code</a></li>
					<li>Follow us on Twitter <a href="http://twitter.com/wpbasis">@wpbasis</a></li>
				</ul>
				<p class="top"><a href="#wrap" title="Top of page">&nbsp;&uarr;&nbsp;</a></p>
			</li>
			
			<li id="aufbau">
				<h2>Templates/structure</h2>
				<ul>
					<li><strong><em>Basis</em> Theme</strong>
					<ul>
						<li><em>css</em>
							<ul>
								<li><em>reset</em>
									<ul>
										<li>plugins
											<ul>
												<li>tripoli.layout.css</li>
												<li>tripoli.negative.css</li>
												<li>tripoli.type.css</li>
												<li>tripoli.visual.css</li>
											</ul>
										</li>
										<li>yui
											<ul>
												<li>reset.css</li>
												<li>reset-min.css</li>
											</ul>
										</li>
										<li>css-reset.css</li>
										<li>reset.css</li>
										<li>tripoli.base.css</li>
										<li>tripoli.base.ie.css</li>
										<li>tripoli.css</li>
										<li>tripoli.ie.css</li>
										<li>tripoli.simple.css</li>
										<li>tripoli.simple.ie.css</li>
									</ul>
								</li>
								<li>ie.css</li>
								<li>print.css</li>
								<li>single.css</li>
								<li>style.css</li>
							</ul>
						</li>
						<li><em>custom-login</em>
							<ul>
								<li>custom-login.css</li>
							</ul>
						</li>
						<li><em>extra</em>
							<ul>
								<li>db-error.php</li>
							</ul>
						</li>
						<li><em>js</em>
							<ul>
								<li>quicktags.js</li>
							</ul>
						</li>
						<li><em>wp-root-tipps</em>
							<ul>
								<li>.htaccess</li>
								<li>robots.txt</li>
								<li>wp-config.php</li>
							</ul>
						</li>
						<li>style.css</li>
						<li>404.php</li>
						<li>blog.php</li>
						<li>comments.php</li>
						<li>footer.php</li>
						<li>functions.php</li>
						<li>header.php</li>
						<li>image.php</li>
						<li>index.php</li>
						<li>page.php</li>
						<li>search.php</li>
						<li>searchform.php</li>
						<li>sidebar.php</li>
						<li>single.php</li>
						<li>screenshot.png</li>
						<li>xx_XX.pot</li>
						<li>os.xml</li>
					</ul>
					</li>
				</ul>
			</li>
			

			<li id="funktionen">
				<h2>Extra functions</h2>
				<ol>
					<li><strong>WordPress constants</strong>
						<ul>
							<li>Since version 2.6 WordPress relies on constants in many places making access and development easier. Necessairy constants are being looked for and set where they don't exist already.</li>
						</ul>
					</li>
					<li><strong>fb_textdomain</strong>
							<ul>
								<li>Allows multilinguality for themes.</li>
							<li>Just rename the key 'basis' in <code>define( 'FB_BASIS_TEXTDOMAIN', 'basis' );</code>. All other keys are being pulled automatically through the constant.</li>
							</ul>
					</li>
					<li><strong>wp_count_posts</strong>, <strong>wp_count_terms</strong>, <strong>get_comment_count</strong>, <strong>wp_count_comments</strong>
							<ul>
								<li>Count the number of entries in a blog.</li>
								<li>More information in this <a href="http://bueltge.de/summe-beitraege-seiten-kategorien-tags-kommentare-wordpress-theme/744/">post (German)</a>.</li>
							</ul>
					</li>
					<li><strong>Widget support</strong>
							<ul>
								<li>WordPress provides the possibility to integrate new functionalities into your frontend without having to manually access the code of a template file. You can easily activate and position those functionalities with drag&amp;drop to customize your sidebar. This technology is called a "widget".</li>
								<li>More information in this <a href="http://bueltge.de/10-punkte-perfekte-wordpress-theme/784/#widget">post (German)</a>.</li>
							</ul>
					</li>
					<li><strong>Related posts based on tags</strong> <code>fb_get_related_posts()</code>
							<ul>
								<li>Related posts to the current post based on post-tags.</li>
								<li>More information in this <a href="http://bueltge.de/aehnliche-beitraege-mit-tag-funktion-wordpress-23/531/">post (German)</a>.</li>
							</ul>
					</li>
					<li><strong>Related posts based on categories</strong> <code>fb_get_related_posts()</code>
							<ul>
								<li>Related posts to the current post based on categories.</li>
								<li>More information in this <a href="http://bueltge.de/aehnliche-seiten-auf-basis-der-kategorie-in-wordpress/967/">post (German)</a>.</li>
							</ul>
					</li>
					<li><strong>fb_in_category</strong>
							<ul>
								<li>Returns TRUE if a post is in a sub-category.</li>
							</ul>
					</li>	
					<li><strong>get_children_pages</strong>
							<ul>
								<li>Returns the children-pages of a parent-page.</li>
							</ul>
					</li>
					<li><strong>Theme-specific login</strong> <code>fb_custom_login()</code>
							<ul>
								<li>Customizes the WP-login form. You can call the custom CSS-file "custom-login.css" from the directory <strong>custom-login</strong> by implementing the hook <pre>add_action('login_head', 'fb_custom_login');</pre> The required file and directory are included in the theme-directory. </li>
								<li>More information in these posts (German): <a href="http://bueltge.de/wordpress-27-login-design-anpassen/846/">1</a> and <a href="http://bueltge.de/wordpress-25-und-theme-definiertes-login/617/">2</a></li>
							</ul>
					</li>
					<li><strong>Breadcrumb Navigation</strong> <code>fb_breadcrumb_nav()</code>
							<ul>
								<li>Use the following code in your template to implement a breadcrumb navigation in your <em>WordPress Basis Theme</em>:</li>
								<li><pre>if ( function_exists('fb_breadcrumb_nav') ) fb_breadcrumb_nav();</pre></li>
								<li>More information in this <a href="http://bueltge.de/brotkrumen-navi-fuer-wordpress/701/">post (German)</a></li>	
							</ul>
					</li>
					<li><strong>Advertisements using custom fields </strong> <code>fb_example_link()</code>
							<ul>
								<li>More information in this <a href="http://bueltge.de/werbung-shortcode-benutzerdefinierte-felder-wordpress/741/">post (German)</a></li>
							</ul>
					</li>
					<li><strong>Display posts directly within another post/page via shortcode</strong> <code>fb_get_posts()</code>
							<ul>
								<li>Returns the WP loop directly within a post/page via shortcodes</li>

								<li>Simple example of shortcode with 2 parameters: <code>[posts num="5" cat="1"]</code></li>
							</ul>
					</li>
					<li><strong>Shortcodes for encryted email addresses</strong> <code>fb_secure_mail()</code>
							<ul>
								<li>Encrypt an email address via unicode</li>
								<li>More informationen about the idea in this <a href="http://bueltge.de/spamschutz-email-utf-8-kodieren/183/">post (German)</a></li>
								<li>More informationen about the shortcode in this <a href="http://wpengineer.com/wordpress-antispambot/">post (German)</a></li>
								<li>Example of shortcode with 2 parameters: <code>[sm mailto="foo@bar.com" txt="here is my mail"]</code></li>
							</ul>
					</li>
					<li><strong>Deactivate shortcodes in posts/pages</strong> <code>fb_kill_shortcodes()</code>
							<ul>
								<li>Delete all other shortcodes in a post/page</li>
								<li>Shortcode: <code>[KSC][/KSC]</code></li>
							</ul>
					</li>
					<li><strong>Activate shortcodes within widgets</strong>
							<ul>
								<li>Call the default function via hook</li>
								<li><code>add_filter('widget_text', 'do_shortcode');</code></li>
							</ul>
					</li>
					<li><strong>Reading the user IP</strong> <code>fb_getUserCountry()</code>
							<ul>
								<li>Returns the country the particcular IP is from.</li>
							</ul>
					</li>
					<li><strong>Cache CSS files</strong> <code>fb_css_cache_buster()</code>
							<ul>
								<li>More information in this <a href="http://toscho.de/2008/frisches-layout/#comment-13">Comment (German)</a></li>
							<li>Alternatively use this <a href="http://www.alistercameron.com/2008/09/12/wordpress-plugin-css-cache-buster/">plugin</a></li>
							</ul>
					</li>
					<li><strong>Tag cloud as a dropdown-menu</strong> <code>fb_dropdown_tag_cloud()</code>
							<ul>
								<li>Tags in a dropdown-menu</li>
							</ul>
					</li>
					<li><strong>Exclude a certain category from the loop</strong> <code>fb_exclude_category()</code>
							<ul>
								<li>Enter the IDs of certain categories within the array to remove them from the loop.</li>
							</ul>
					</li>
					<li><strong>Remove <code>/category/</code> for better search engine optimization</strong> <code>fb_fix_slash()</code>
							<ul>
								<li>Remove <code>/category/</code> from permalinks</li>
							</ul>
					</li>
					<li><strong>Add Link Attribute</strong>
							<ul>
								<li>Add attributes to a hyperlink tag.</li>
							</ul>
					</li>
					<li><strong>Regular Expression for hyperlinks</strong> <code>fb_add_thickbox()</code>
							<ul>
								<li>Add a CSS class to any hyperlink with an image, so the image can be viewed with Thickbox.</li>
								<li>More information in this <a href="http://bueltge.de/javascript-bibliotheken-in-und-aus-wordpress-nutzen/808/">post (German)</a></li>
							</ul>
					</li>
					<li><strong>Delayed publishing of posts in feed</strong> <code>fb_pulish_later_on_feed()</code>
							<ul>
								<li>More information in this <a href="http://bueltge.de/wordpress-feed-zeitversetzt-befuellen/806/">post (German)</a></li>
							</ul>
					</li>
					<li><strong>No pings from your own posts</strong> <code>fb_noself_ping()</code>
							<ul>
								<li>Stop silly self-pings from your own blog.</li>
							</ul>
					</li>
					<li><strong>Comment markup</strong> <code>fb_theme_comment()</code>
							<ul>
								<li>Return markup and content of a certain comment.</li>
							</ul>
					</li>
					<li><strong>Count comments, pings and trackbacks <code>fb_comment_type_count()</code></strong>
							<ul>
								<li>More information in this <a href="http://bueltge.de/zaehler-fuer-kommentare-track-und-pingbacks-ab-wordpress-27/878/">post (German)</a></li>
							</ul>
					</li>
					<li><strong>Check for duplicate meta-tag &quot;robots&quot;</strong> <code>fb_comment_paging_noindex_meta()</code>
							<ul>
								<li>Avoid duplicate content in paginated comments.</li>
								<li>More information in this <a href="http://blog.kaizeku.com/wordpress/prevent-wordpress-27-duplicate-content/">post</a></li>
							</ul>
					</li>
					<li><strong>Display ads only for visitors from search engines</strong> <code>fb_fromasearchengine()</code>
							<ul>
								<li>Use this function to display banners or text-links only for visitors coming from a search engine. The function call <code>fb_fromasearchengine()</code> evaluates the referrer of each visitor. To add more search go to functions.php.</li>
								<li><em>Example:</em> <pre>if ( function_exists('fb_fromasearchengine') ) { 
	if ( fb_fromasearchengine() ) {
		PLATZHALTER FÜR HTML-/BANNER-CODE etc.
	} 
}</pre></li>
							</ul>
					</li>
					<li><strong>Remove <em>more</em> tags</strong> <code>fb_remove_more_anchor()</code>
						<ul>
							<li>Remove more-tags from content.</li>
							<li>Go to <code>functions.php</code> and activate the hook <code>add_filter('the_content', 'fb_remove_more_anchor');</code></li>
						<li><em>Note:</em> You can also use the variable <code>$more</code> to do the same thing within your template. Just add: <code>global $more; $more = 1;</code></li>
						</ul>
					</li>
					<li><strong>Delete comment data automatically</strong> <code>fb_delete_comments_data()</code>
						<ul>
							<li>Using <code>fb_delete_comments_data()</code> all comment data of the last 15 days are deleted. The automatism saves database file size and protects you from future legal issues if you are a German resident.</li>
						</ul>
					</li>
					<li><strong>Alternative Doctype</strong> <code>fb_alternate_doctype()</code>
						<ul>
							<li>Sometimes you have to use an alternative doctype on certain pages. This function handles the value of the variable <code>$newdoctype</code> as the new doctype.</li>
							<li>Simply call the function within your template and use conditional tags where appropriate.</li>
							<li><em>Example:</em> <pre>if ( is_page('about') ) fb_alternate_doctype(); </pre></li>
						</ul>
					</li>
					<li><strong>Generate TinyURL</strong> <code>fb_gettinyurl()</code>
						<ul>
							<li>Simple function to generate a  TinyURL using the TinyURL.com API</li>
							<li>More information in this <a href="http://www.rene-ade.de/inhalte/php-code-zum-erstellen-einer-tinyurl-ueber-tinyurl-com-api.html">post (German)</a> von Ren&eacute; Ade</li>
						</ul>
					</li>
					<li><strong>Filter rewrite rule</strong> <code>fb_filter_rewrite_attachment()</code>
						<ul>
							<li>Can enhance performance where disadvantageous permalinks are activated.</li>
							<li>Use within your template like: <code>var_dump( get_option('rewrite_rules') );</code>.</li>
							<li>Outcomment both filters to activate the function.</li>
						</ul>
					</li>
					<li><strong>Check for useragent</strong> <code>fb_agent()</code>
						<ul>
							<li>Check for a visitor's useragent and do something with it,</li>
							<li>e.g. load an extra stylesheet for a mobile client.</li>
							<li><em>Example:</em> <pre>if ( (fb_agent("iPhone") != FALSE) || (fb_agent("iPod") != FALSE) ) {
	...
}</pre></li>
						</ul>
					</li>
					<li><strong>Tags of a post</strong> <code>fb_meta_tags()</code>
						<ul>
							<li>Read the tags of a post and return them to the meta-tag as keywords.</li>
							<li><em>Example:</em> <pre>&lt;?php if (function_exists('fb_meta_tags') ) { fb_meta_tags(); } ?&gt;</pre></li>
							<li><em>Generates HTML like:</em> <pre>&lt;meta name=&quot;keywords&quot; content=&quot;test,bueltge,&quot; /&gt;</pre></li> 
						</ul>
					</li>
					<li><strong>Filter excerpt</strong> <code>fb_clean_excerpt()</code>
						<ul>
							<li>Remove JavaScript and CSS from the excerpt.</li>
						</ul>
					</li>
					<li><strong>Filter excerpt #2</strong> <code>fb_trim_excerpt()</code>
						<ul>
							<li>Remove [...] from the excerpt or set an alternative.</li>
						</ul>
					</li>
					<li><strong>Remove the nofollow attribute from the comment author link</strong> <code>fb_strip_nofollow()</code>
						<ul>
							<li>Remove <code>rel="nofollow"</code> from the comment author link</li>
						</ul>
					</li>
					<li><strong>Check for parent and child pages</strong> <code>fb_has_parent()</code>
							<ul>
								<li>Uses a page ID and checks if the actual page is the parent or a child page.</li>
								<li><pre>if ( function_exists('fb_has_parent') ) {
	if ( fb_has_parent($wp_query->post, 3) ) { ... }
} ;</pre></li>
							</ul>
					</li>	
					<li><strong>Disable canonical URL redirection</strong> <code>template_redirect</code>
						<ul>
							<li>Removes the canonical URL functions which has been implemented into WP since version 2.3.</li>
							<li>Outcomment hook to activate the function.</li>
						</ul>
					</li>
					<li><strong>Add contact field</strong> <code>fb_add_twitter_contactmethod</code>
						<ul>
							<li>Add a new field in the user settings on the backend, since WP 2.9</li>
							<li>Example: <code>add_filter( 'user_contactmethods', 'fb_add_twitter_contactmethod', 10, 1 )</code></li>
						</ul>
					</li>
					<li><strong>Select all users that have a specific role</strong> <code>fb_getUsersByRole</code>
						<ul>
							<li>Return the user-IDs for specific rolle.</li>
							<li>Example: <code>$userid = fb_getUsersByRole( 'author' )</code></li>
						</ul>
					</li>
					<li><strong>Removing typographic widows in page titles</strong> <code>fb_getUsersByRole</code>
						<ul>
							<li>A widow in typography is the one lowly word that gets displayed on a line of its own within a heading.</li>
							<li>The function pre-filters it so that the last two words are separated not with a space but with a <code>&amp;nbsp;</code> instead</li>
							<li>This tricks the browser into not breaking up the word.</li>
						</ul>
					</li>
					
				</ol>
				<p class="top"><a href="#wrap" title="Top of page">&nbsp;&uarr;&nbsp;</a></p>
			</li>
			
			
			<li id="wp_root_tipps">
			<h2>Tips for the WP main directory</h2>
				<p>For an easy and safe installation the <em>WordPress Basis Theme</em> comes with a modified</p><ul>
					<li>wp-config.php,</li>
					<li>robots.txt and</li>
					<li>.htaccess.</li>
				</ul>
				<p>Make your own choice which ideas and solutions you would like to use. Search the web for explanations.</p>
				
				<p class="top"><a href="#wrap" title="Top of page">&nbsp;&uarr;&nbsp;</a></p>
			</li>
			
			<li id="css_hint">
				<h2>Tips for the reset section in the CSS stylesheet</h2>
				<p>This theme provides multiple options to reset the CSS styles to a common standard for all browsers. Choose one option and use the linked ressources to retrieve deeper information on the matter.</p>
				
				<ol>
					<li>
						<h3>CSS framework Tripoli</h3>
					<p>To standardize the interpretation of CSS attributes within browsers from Internet Explorer 5 up to Firefox 3, the <em>WordPress Basis Theme</em> comes with an included <em>CSS Framework Tripoli</em>. The idea has been realized by David Hellsing.</p>
						<ul>
							<li><em>Website:</em> <a href="http://devkick.com/lab/tripoli/">CSS framework Tripoli</a></li>
						</ul>
					</li>
					<li>
						<h3>CSS reset by Eric Meyer</h3>
						<p>The CSS reset by Eric Meyer resets all internal browser styles and requires a complete re-definition of all styles.</p>
						<p>&quot;The reset styles given here are intentionally very generic. There isn't any default color or background set for the body element, for example. I don't particularly recommend that you just use this in its unaltered state in your own projects. It should be tweaked, edited, extended, and otherwise tuned to match your specific reset baseline. Fill in your preferred colors for the page, links, and so on.&quot;</p>
						<ul>
							<li><em>Website:</em> <a href="http://meyerweb.com/eric/tools/css/reset/">CSS Tools: CSS reset</a></li>
						</ul>
					</li>
					<li>
						<h3>Yahoo User Interface Reset</h3>
						<p>The foundational YUI Reset CSS file removes and neutralizes the inconsistent default styling of HTML elements, creating a level playing field across A-grade browsers and providing a sound foundation upon which you can explicitly declare your intentions.</p>
						<ul>
							<li><em>Website:</em> <a href="http://developer.yahoo.com/yui/reset/">Yahoo User Interface Reset</a></li>
						</ul>
					</li>
					<li>
						<h3>Ed Eliot&acute;s Reset - Less is more</h3>
						<p>Many CSS resets just go too far. Eliot&acute;s solution only regards a selection of elements that are used more often.</p>
						<ul>
							<li><em>Website:</em> <a href="http://www.ejeliot.com/blog/85">Ed Eliot&acute;s Reset</a></li>
						</ul>
					</li>
					<li>
						<h3>Short and slim</h3>
						<pre>* {
margin: 0;
padding: 0;	
}</pre>
					</li>
				</ol>
				<p class="top"><a href="#wrap" title="Top of page">&nbsp;&uarr;&nbsp;</a></p>
			</li>
			
			<li id="download">
				<h2>Download</h2>
				<ul>
					<li>This project is hosted and administrated at Google Code <a href="http://wp-basis-theme.googlecode.com/">WP <em>Basis</em> Theme</a> and can be downloaded from there.</li>
					<li>Download URL WP Basis xHTML1.0: <a href="http://wp-basis-theme.googlecode.com/files/wpbasis.zip">http://wp-basis-theme.googlecode.com/files/wpbasis.zip</a></li>
					<li>Download URL WP Basis Child Theme Example: <a href="http://wp-basis-theme.googlecode.com/files/wpbasis-child-example.zip">http://wp-basis-theme.googlecode.com/files/wpbasis-child-example.zip</a></li>
					<li>Download URL WP Basis HTML5: <a href="http://wp-basis-theme.googlecode.com/files/wpbasis-html5.zip">http://wp-basis-theme.googlecode.com/files/wpbasis-html5.zip</a></li>
					<li>Download List URL: <a href="http://code.google.com/p/wp-basis-theme/downloads/list">http://code.google.com/p/wp-basis-theme/downloads/list</a></li>
				</ul>
				<p class="top"><a href="#wrap" title="Top of page">&nbsp;&uarr;&nbsp;</a></p>
			</li>
			
			<li id="danke">
				<h2>Credits</h2>
				<ul>
					<li><a href="http://meyerweb.com/eric/tools/css/reset/">Eric Meyer</a> for his CSS reset</li>
					<li><a href="http://meyerweb.com/eric/tools/css/reset/">Yahoo! UI Library: Reset CSS</a> for their CSS reset</li>
					<li><a href="http://devkick.com/lab/tripoli/">David Hellsing</a> for his idea to generate a standard CSS</li>
					<li><a href="http://www.ejeliot.com/blog/85">Ed Eliot&acute;s Reset</a> for another slim solution</li>
					<li>the great number of comments, posts and books on the topic</li>
				</ul>
				<p class="top"><a href="#wrap" title="Top of page">&nbsp;&uarr;&nbsp;</a></p>
			</li>
			
			<li id="team">
				<h2>Project team</h2>
				<ul>
					<li>Main developer: Frank B&uuml;ltge, <a href="http://bueltge.de/">bueltge.de</a></li>
					<li>Development support in syntax &amp; tests: Andreas Isaak, <a href="http://andreas-isaak.de/">andreas-isaak.de</a></li>
					<li>Development support in syntax &amp; tests: Dominik, <a href="http://dominikschilling.de/">dominikschilling.de</a></li>
					<li>Translation support: Caspar H&uuml;binger, <a href="http://casparhuebinger.de">casparhuebinger.de</a></li>
					<li>Translation support: Alex Frison, <a href="http://alexfrison.com/">alexfrison.com</a></li>
				</ul>
				<p class="top"><a href="#wrap" title="Top of page">&nbsp;&uarr;&nbsp;</a></p>
			</li>
			
			<li id="lizenz">
				<h2>License</h2>
				<p><em>Basis</em> Theme &copy; 2007 &ndash; 2009 has been published under the <a href="http://www.gnu.org/licenses/gpl.html" title="GNU General Public License" rel="license"><abbr title="GNU is Not Unix">GNU</abbr> General Public License</a>:</p>
				<blockquote title="How to use the GPL or LPGL" cite="http://www.gnu.org/licenses/gpl-howto.html">
					<p>This program is free software; you can redistribute it and/or modify it under the terms of the <abbr title="GNU is Not Unix">GNU</abbr> General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p>
					<p>This program is distributed in the hope that it will be useful, but <strong>without any warranty</strong>; without even the implied warranty of <strong>merchantability</strong> or <strong>fitness for a particular purpose</strong>. See the <abbr title="GNU is Not Unix">GNU</abbr> General Public License for more details.</p>
					<p>You should have received a copy of the <abbr title="GNU is Not Unix">GNU</abbr> General Public License along with this program; if not, write to the <span class="vcard"><a class="url fn org" href="http://www.fsf.org/" rel="external">Free Software Foundation, Inc</a>, <span class="adr"><span class="street-address">51 Franklin Street, Fifth Floor</span>, <span class="locality">Boston</span>, <span class="region">MA</span> <span class="postal-code">02110-1301</span>, <span class="country-name">USA</span></span></span>.</p>
				</blockquote>
				<p class="top"><a href="#wrap" title="Top of page">&nbsp;&uarr;&nbsp;</a></p>
			</li>

		</ol>
		
		<div id="footer">
			<p>Last updated: 18.03.2010 09:11:28 &middot; <a href="http://bueltge.de/impressum/">Imprint</a></p>
		</div>
		
	</div>
	
</body>
</html>
